package com.example.smartstart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author dlx
 * @since 2024-07-22
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
@TableName("award_record")
public class AwardRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 奖品id
     */
    private Integer awardId;

    /**
     * 兑换时间
     */
    private LocalDateTime createTime;


}
